﻿using System.Collections;
using System.Collections.Generic;
using System.Net;
using System.Net.Sockets;
using System.Threading;
using UnityEngine;

public class Launcher : MonoBehaviour
{
    public string m_ServerAddr = "127.0.0.1:1234";
    public static Launcher Instance { private set; get; }

    private void Awake()
    {
        Instance = this;
    }

    private void Start()
    {
        Game.Instance.Init(); 
    }

    private void Update()
    {
        Game.Instance.Tick(); 
    }

    private void OnDestroy()
    {
        Game.Instance.Clear();
    }
}
